package com.car.dal.object;

import com.car.annotation.DBField;
import com.car.annotation.DBTable;

@DBTable(tableName = "tg_userinfo", defaultSort = "id", defaultDir = "desc")
public class TgUserinfo {
	@DBField(field = "id")
	private Integer id;
	@DBField(field = "type")
	private Integer type;// 1.销售主管。2.中心主任
	@DBField(field = "department")
	private String department;
	@DBField(field = "username")
	private String username;

	@DBField(field = "region")
	private String region;
	@DBField(field = "region_temp")
	private String region_temp;
	@DBField(field = "qq_group")
	private Long qq_group;
	@DBField(field = "nickname")
	private String nickname;
	@DBField(field = "center")
	private String center;

	@DBField(field = "sex")
	private String sex;
	@DBField(field = "birthday")
	private Long birthday;
	@DBField(field = "entryday")
	private Long entryday;
	@DBField(field = "zhuanz_date")
	private String zhuanz_date;

	@DBField(field = "nation")
	private String nation;
	@DBField(field = "marriage")
	private String marriage;
	@DBField(field = "workexp")
	private Integer workexp;
	@DBField(field = "idnum")
	private String idnum;
	@DBField(field = "hometown")
	private String hometown;

	@DBField(field = "census")
	private String census;
	@DBField(field = "address")
	private String address;
	@DBField(field = "phone")
	private String phone;
	@DBField(field = "email")
	private String email;
	@DBField(field = "education")
	private String education;
	@DBField(field = "certificate")
	private String certificate;
	@DBField(field = "contact")
	private String contact;
	@DBField(field = "contact_phone")
	private String contact_phone;
	@DBField(field = "avatar")
	private String avatar;
	@DBField(field = "state")
	private String state;
	@DBField(field = "sxian")
	private String sxian;
	@DBField(field = "mdate")
	private Long mdate;
	@DBField(field = "off_name")
	private String off_name;

	@DBField(field = "con_name")
	private String con_name;

	@DBField(field = "unum")
	private Integer unum;

	@DBField(field = "keynames")
	private String keynames;
	@DBField(field = "departments")
	private String departments;
	@DBField(field = "job")
	private String job;
	@DBField(field = "jobns")
	private String jobns;
	@DBField(field = "regions")
	private String regions;
	@DBField(field = "locked")
	private Integer locked;
	@DBField(field = "sy_username")
	private Integer sy_username;// 在查询的时候，如果存在则表示查询试用期员工
	/**
	 * 城市
	 */
	@DBField(field = "city")
	private String city;

	public Integer getSy_username() {
		return sy_username;
	}

	public void setSy_username(Integer sy_username) {
		this.sy_username = sy_username;
	}

	private String birthdays;
	private String entrydays;
	private String createTime;
	private String exclude;
	private Long stamp_l1;
	private Long stamp_r1;
	private Long stamp_l2;
	private Long stamp_r2;
	private String region2;

	private String needtime;
	private Integer tea_toCount;

	private Integer zonCount;
	private Integer yiCount;
	private Integer weiCount;
	private Integer sfzCount;
	private Integer bxsCount;
	private Integer gqiCount;

	private Integer todayzonCount;// 今日客户数量
	private Integer tweigzCount;// 今日资源未跟踪数量
	private Integer todayweigzCount;// 今日资源今日未跟踪数量

	private Integer weekzonCount;// 本周客户数量
	private Integer bweigzCount;// 本周资源未跟踪数量
	private Integer weekweigzCount;// 本周资源本周未跟踪数量

	private Integer money;
	private Integer zonChendan;
	private Integer zonRece;
	private String totrate;

	private Long Firstrownum;
	private Long pagesize;

	// 咨询接待统计
	private String feisum;// 当周非市场业绩
	private String shisum; // 当周市场业绩

	private Integer zonrece; // 当周非市场接待数量
	private Integer zonear; // 当周市场接待数量

	private Integer feizon; // 当周非市场成单
	private Integer zonchen; // 当周市场成单

	private String chenrate; // 当周非市场成单率
	private String feichenrate; // 当周市场成单率

	private String sumrate; // 当周业绩÷接待测评量
	private Integer jiangjin; // 培养奖金
	private String lock; // 是否离职

	/**
	 * @return the jiangjin
	 */
	public Integer getJiangjin() {
		return jiangjin;
	}

	/**
	 * @param jiangjin
	 *            the jiangjin to set
	 */
	public void setJiangjin(Integer jiangjin) {
		this.jiangjin = jiangjin;
	}

	private Double rates;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the lock
	 */
	public String getLock() {
		return lock;
	}

	/**
	 * @param lock
	 *            the lock to set
	 */
	public void setLock(String lock) {
		this.lock = lock;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getRegion_temp() {
		return region_temp;
	}

	public void setRegion_temp(String region_temp) {
		this.region_temp = region_temp;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Long getBirthday() {
		return birthday;
	}

	public void setBirthday(Long birthday) {
		this.birthday = birthday;
	}

	public Long getEntryday() {
		return entryday;
	}

	public void setEntryday(Long entryday) {
		this.entryday = entryday;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getMarriage() {
		return marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public Integer getWorkexp() {
		return workexp;
	}

	public void setWorkexp(Integer workexp) {
		this.workexp = workexp;
	}

	public String getIdnum() {
		return idnum;
	}

	public void setIdnum(String idnum) {
		this.idnum = idnum;
	}

	public String getHometown() {
		return hometown;
	}

	public void setHometown(String hometown) {
		this.hometown = hometown;
	}

	public String getCensus() {
		return census;
	}

	public void setCensus(String census) {
		this.census = census;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getCertificate() {
		return certificate;
	}

	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContact_phone() {
		return contact_phone;
	}

	public void setContact_phone(String contact_phone) {
		this.contact_phone = contact_phone;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Long getMdate() {
		return mdate;
	}

	public void setMdate(Long mdate) {
		this.mdate = mdate;
	}

	public String getDepartments() {
		return departments;
	}

	public void setDepartments(String departments) {
		this.departments = departments;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getRegions() {
		return regions;
	}

	public void setRegions(String regions) {
		this.regions = regions;
	}

	public String getBirthdays() {
		return birthdays;
	}

	public void setBirthdays(String birthdays) {
		this.birthdays = birthdays;
	}

	public String getEntrydays() {
		return entrydays;
	}

	public void setEntrydays(String entrydays) {
		this.entrydays = entrydays;
	}

	public Long getFirstrownum() {
		return Firstrownum;
	}

	public void setFirstrownum(Long firstrownum) {
		Firstrownum = firstrownum;
	}

	public Long getPagesize() {
		return pagesize;
	}

	public void setPagesize(Long pagesize) {
		this.pagesize = pagesize;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getKeynames() {
		return keynames;
	}

	public void setKeynames(String keynames) {
		this.keynames = keynames;
	}

	public String getExclude() {
		return exclude;
	}

	public void setExclude(String exclude) {
		this.exclude = exclude;
	}

	public Long getStamp_l1() {
		return stamp_l1;
	}

	public void setStamp_l1(Long stamp_l1) {
		this.stamp_l1 = stamp_l1;
	}

	public Long getStamp_r1() {
		return stamp_r1;
	}

	public void setStamp_r1(Long stamp_r1) {
		this.stamp_r1 = stamp_r1;
	}

	public Long getStamp_l2() {
		return stamp_l2;
	}

	public void setStamp_l2(Long stamp_l2) {
		this.stamp_l2 = stamp_l2;
	}

	public Long getStamp_r2() {
		return stamp_r2;
	}

	public void setStamp_r2(Long stamp_r2) {
		this.stamp_r2 = stamp_r2;
	}

	public String getRegion2() {
		return region2;
	}

	public void setRegion2(String region2) {
		this.region2 = region2;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getJobns() {
		return jobns;
	}

	public void setJobns(String jobns) {
		this.jobns = jobns;
	}

	public Integer getTea_toCount() {
		return tea_toCount;
	}

	public void setTea_toCount(Integer tea_toCount) {
		this.tea_toCount = tea_toCount;
	}

	public Integer getSfzCount() {
		return sfzCount;
	}

	public void setSfzCount(Integer sfzCount) {
		this.sfzCount = sfzCount;
	}

	public Integer getBxsCount() {
		return bxsCount;
	}

	public void setBxsCount(Integer bxsCount) {
		this.bxsCount = bxsCount;
	}

	public Integer getGqiCount() {
		return gqiCount;
	}

	public void setGqiCount(Integer gqiCount) {
		this.gqiCount = gqiCount;
	}

	public Integer getZonCount() {
		return zonCount;
	}

	public void setZonCount(Integer zonCount) {
		this.zonCount = zonCount;
	}

	public Integer getYiCount() {
		return yiCount;
	}

	public void setYiCount(Integer yiCount) {
		this.yiCount = yiCount;
	}

	public Integer getWeiCount() {
		return weiCount;
	}

	public void setWeiCount(Integer weiCount) {
		this.weiCount = weiCount;
	}

	public Integer getTodayzonCount() {
		return todayzonCount;
	}

	public void setTodayzonCount(Integer todayzonCount) {
		this.todayzonCount = todayzonCount;
	}

	public Integer getTweigzCount() {
		return tweigzCount;
	}

	public void setTweigzCount(Integer tweigzCount) {
		this.tweigzCount = tweigzCount;
	}

	public Integer getTodayweigzCount() {
		return todayweigzCount;
	}

	public void setTodayweigzCount(Integer todayweigzCount) {
		this.todayweigzCount = todayweigzCount;
	}

	public Integer getWeekzonCount() {
		return weekzonCount;
	}

	public void setWeekzonCount(Integer weekzonCount) {
		this.weekzonCount = weekzonCount;
	}

	public Integer getBweigzCount() {
		return bweigzCount;
	}

	public void setBweigzCount(Integer bweigzCount) {
		this.bweigzCount = bweigzCount;
	}

	public Integer getWeekweigzCount() {
		return weekweigzCount;
	}

	public void setWeekweigzCount(Integer weekweigzCount) {
		this.weekweigzCount = weekweigzCount;
	}

	public String getSxian() {
		return sxian;
	}

	public void setSxian(String sxian) {
		this.sxian = sxian;
	}

	public String getNeedtime() {
		return needtime;
	}

	public void setNeedtime(String needtime) {
		this.needtime = needtime;
	}

	public Integer getUnum() {
		return unum;
	}

	public void setUnum(Integer unum) {
		this.unum = unum;
	}

	public Integer getLocked() {
		return locked;
	}

	public void setLocked(Integer locked) {
		this.locked = locked;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public Integer getZonChendan() {
		return zonChendan;
	}

	public void setZonChendan(Integer zonChendan) {
		this.zonChendan = zonChendan;
	}

	public Integer getZonRece() {
		return zonRece;
	}

	public void setZonRece(Integer zonRece) {
		this.zonRece = zonRece;
	}

	public String getTotrate() {
		return totrate;
	}

	public void setTotrate(String totrate) {
		this.totrate = totrate;
	}

	public String getFeisum() {
		return feisum;
	}

	public void setFeisum(String feisum) {
		this.feisum = feisum;
	}

	public String getShisum() {
		return shisum;
	}

	public void setShisum(String shisum) {
		this.shisum = shisum;
	}

	public Integer getZonrece() {
		return zonrece;
	}

	public void setZonrece(Integer zonrece) {
		this.zonrece = zonrece;
	}

	public Integer getZonear() {
		return zonear;
	}

	public void setZonear(Integer zonear) {
		this.zonear = zonear;
	}

	public Integer getFeizon() {
		return feizon;
	}

	public void setFeizon(Integer feizon) {
		this.feizon = feizon;
	}

	public Integer getZonchen() {
		return zonchen;
	}

	public void setZonchen(Integer zonchen) {
		this.zonchen = zonchen;
	}

	public String getChenrate() {
		return chenrate;
	}

	public void setChenrate(String chenrate) {
		this.chenrate = chenrate;
	}

	public String getFeichenrate() {
		return feichenrate;
	}

	public void setFeichenrate(String feichenrate) {
		this.feichenrate = feichenrate;
	}

	public String getSumrate() {
		return sumrate;
	}

	public void setSumrate(String sumrate) {
		this.sumrate = sumrate;
	}

	public String getOff_name() {
		return off_name;
	}

	public void setOff_name(String off_name) {
		this.off_name = off_name;
	}

	public String getCon_name() {
		return con_name;
	}

	public void setCon_name(String con_name) {
		this.con_name = con_name;
	}

	public Double getRates() {
		return rates;
	}

	public void setRates(Double rates) {
		this.rates = rates;
	}

	public Long getQq_group() {
		return qq_group;
	}

	public void setQq_group(Long qq_group) {
		this.qq_group = qq_group;
	}

	public String getZhuanz_date() {
		return zhuanz_date;
	}

	public void setZhuanz_date(String zhuanz_date) {
		this.zhuanz_date = zhuanz_date;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCenter() {
		return center;
	}

	public void setCenter(String center) {
		this.center = center;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Override
	public int hashCode() {// 重写hashCode方法
		return this.nickname.hashCode();
	}

	@Override
	public boolean equals(Object obj) {// 重写equals方法
		if (this == obj) {
			return true;
		}
		if (null != obj && obj instanceof TgUserinfo) {
			TgUserinfo user = (TgUserinfo) obj;
			if (nickname.equals(user.nickname)) {// 判断nickname是否相同
				return true;
			}
		}
		return false;
	}
}
